<?php
namespace app\admin\model;

use think\Db;
use think\Model;

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/18
 * Time: 18:42
 */
class Adminmodel extends Model
{
//    查询用户表信息
    public function select(){
        return Db::name("user")
            ->field("user_id,user_name,user_createtime,user_dell,user_r_id")
            ->where("user_r_id=1 or 2 or 3 or 5 or 6 or 8 or 9 or 10 or 12 or 1")
            ->paginate(10);
    }
}